package net.homeip.mmhg.events;

import net.homeip.mmhg.domain.Task;

/**
 * Keeps info about task fired event.
 * 
 * @author ilya gerasimov
 *
 */
public class TaskEvent extends BaseEvent {
	
	private Task task;
	
	public TaskEvent(EventType type, Task task) {
		super(type);
		this.task = task;
	}
	
	public Task getTask() {
		return task;
	}
	
}
